<h2 class="rubrik">NAVN<span style="float:right;" class="rubrik">SIDE</span></h2>  


<? 

   

 $bogstav = $this->uri->segment(3);
echo "<p>";
foreach($register as $r){
            
    if($bogstav == substr($r->navn,0,1)) {

            echo anchor("core/vis/se/sted/".$r->id,$r->navn,"class='ink'");
            echo "<span style='float:right;width:30px;text-align:right;padding:0px 0px 0px 10px;' class='rubrik'> ".$r->id."</span>";
            
            echo "<span style='float:right;' class='rubrik'>".$r->type."</span><br>"; 
    }

}
echo "</p>";


 /*   foreach($alfabet as $a) {

        echo "<h1 class='rubrik'>".$a."</h1>";
        echo "<p class='ink'>";

            if($bogstav == $a) {

           }

        }


    }

*/







?>

